package com.leilei.entity;

import java.util.Objects;

/**
 * 商品定制化信息
 */
public class ShoppingCustom {

    private int pid;
    private int pcid;
    private int pvid;

    @Override
    public String toString() {
        return "ShoppingCustom{" +
                "pid=" + pid +
                ", pcid=" + pcid +
                ", pvid=" + pvid +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ShoppingCustom that = (ShoppingCustom) o;
        return pid == that.pid &&
                pcid == that.pcid &&
                pvid == that.pvid;
    }

    @Override
    public int hashCode() {
        return Objects.hash(pid, pcid, pvid);
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getPcid() {
        return pcid;
    }

    public void setPcid(int pcid) {
        this.pcid = pcid;
    }

    public int getPvid() {
        return pvid;
    }

    public void setPvid(int pvid) {
        this.pvid = pvid;
    }
}
